package com.antgroup.seckill.business.common.enums;

/**
 * DB类型美剧
 *
 * @author wangxy
 * @date 2024/8/23 23:08
 */
public enum DBTypeEnum {

    MYSQL("MYSQL", "mysql"),

    ORACL("ORACL", "oracl"),
    ;


    /**
     * DB类型构造方法
     *
     * @param code DB类型code
     * @param desc DB类型描述
     */
    DBTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * DB类型code
     */
    private String code;

    /**
     *  DB类型描述
     */
    private String desc;


    /**
     * Gets the value of code
     *
     * @return the value of code
     */
    public String getCode() {
        return code;
    }

    /**
     * Gets the value of desc
     *
     * @return the value of desc
     */
    public String getDesc() {
        return desc;
    }
}
